//
//  LVBaseCollectionViewCell.h
//  BaseCode
//
//  Created by 曹连华 on 2019/3/25.
//  Copyright © 2019 曹连华. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LVBaseCellRowModel;

NS_ASSUME_NONNULL_BEGIN

@interface LVBaseCollectionViewCell : UICollectionViewCell

///Cell 所在的 indexPath
@property (nonatomic, strong, readonly) NSIndexPath *indexPath;

///初始化时 会调 initUI 子类可以重新
- (void)initUI;

///在cellForItemAtIndexPath 中会调用此方法 子类可以重新
- (void)updateCVCCellWithRowModel:(LVBaseCellRowModel *)rowModel atIndexPath:(NSIndexPath *)indexPath;

///功能:获取cell的唯一标识符
+ (NSString *)reuseIdentifier;

///功能:获取cell对应的xib
+ (UINib *)nib;

@end

NS_ASSUME_NONNULL_END
